package com.adtech.adms.systemlog;

/**
 * 日志类型
 * 定义日志类型
 * @author Dormin 
 * @since 2011-6-14 
 * 
 * @Copyright (C) AD Tech Workshop All Right Reserved
 */
public class LogType {
	private int id;
	private int severity;
	private String module;
	private String operation;
	private String message;
	private String description;

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getSeverity() {
		return severity;
	}
	public void setSeverity(int severity) {
		this.severity = severity;
	}
	public String getModule() {
		return module;
	}
	public void setModule(String module) {
		this.module = module;
	}
	public String getOperation() {
		return operation;
	}
	public void setOperation(String operation) {
		this.operation = operation;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	/* 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "LogType [id=" + id + ", severity=" + severity + ", module=" + module + ", operation="
				+ operation + ", message=" + message + ", description=" + description + "]";
	}

	
}
